package com.mryx.demo.mapper;

import com.mryx.demo.pojo.Administrator;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface AdminMapper {

    @Select("select aid,account,password from administrator where account=#{userName} and password=#{passWord}")
    Administrator Login(@Param("userName") String userName,@Param("passWord") String passWord);
}
